1 <?php
2     include(
"includes/config.php");
3     session_start();
4     
if(isset($_SESSION['admin_login']) || isset($_SESSION['manufacturer_login']) || isset($_SESSION['retailer_login'])) {
5         session_destroy();
6         echo
"<h1 style=\"color:#009688\">Log Out Successful</h1>";
7 // echo
"<h2 style=\"color:#009688\">You will be redirected to Login page in 3 seconds...</h2>";
8         header(
'Refresh:2;url="index.php"');
9     }
10     
else {
11             header(
'Location:../index.php');
12     }
13 ?>


Gõ tìm kiếm nhanh...